﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="picture.aspx.cs" Inherits="DtCms.Web.picture" ValidateRequest="false" %>
<%@ Import namespace="DtCms.Common" %>
<%@ Register TagPrefix="DtContorl" Namespace="DtCms.Web.UI" Assembly="DtCms.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>产品中心 - <%=SiteConfig.WebName%></title>
<!-- ===== seo ===== -->
<%=AddMetaInfo(SiteConfig.WebKeywords, SiteConfig.WebDescription)%>
<link href="<%=SiteTemplatePath("timber")%>css/timberStyle.css" rel="stylesheet" type="text/css" />
<link href="<%=SiteTemplatePath("timber")%>css/layout.css" rel="stylesheet" type="text/css" />
<link href="<%=SiteTemplatePath("timber")%>css/extents.css" rel="stylesheet" type="text/css" />
<script src="<%=SiteTemplatePath("timber")%>js/jquery-1.4.2.min.js" type="text/javascript"></script>

<script src="<%=SiteTemplatePath("timber")%>js/base.js" type="text/javascript"></script>
<script src="<%=SiteTemplatePath("timber")%>js/cufon-replace.js" type="text/javascript"></script>
<script src="<%=SiteTemplatePath("timber")%>js/Myriad_Pro_400.font.js" type="text/javascript"></script>
<script src="<%=SiteTemplatePath("timber")%>js/Myriad_Pro_600.font.js" type="text/javascript"></script>

<!--[if lt IE 7]>
	<link href="<%=SiteTemplatePath("timber")%>css/ie_style.css" rel="stylesheet" type="text/css" />
<![endif]-->
</head>
<body>
<!-- header -->
<div id="header" style="height:153px">
	<div class="container" style=" background:none; height:auto;">
<!-- .logo -->
		
<div class="logo">
	<a href="<%=URLRewrite("index", "")%>"><img src="<%=SiteTemplatePath("timber")%>images/logo.png" alt="" /></a>
</div>

<!-- /.logo -->
		
<form action="" id="search-form" onsubmit="SiteSearch('<%=SiteConfig.WebPath%>search.aspx', '#txtKeywords');">
	<fieldset>
        <input id="txtKeywords" name="txtKeywords" type="text" class="text" value="<%=Request.QueryString["keyword"]%>" />
            <input type="button" class="submit" onclick="SiteSearch('<%=SiteConfig.WebPath%>search.aspx', '#txtKeywords');" value="搜索" />
   	</fieldset>
</form>


<!-- .nav -->
       <ul class="nav">
	        <li><a href="<%=URLRewrite("index", "")%>" ><span>主页</span></a></li>
		    <li><a href="<%=URLRewrite("article", "")%>" ><span>公司动态</span></a></li>
		    <li><a href="<%=URLRewrite("picture", "")%>" class="current"><span>公司产品</span></a></li>
		    <li><a href="<%=URLRewrite("feedback", "")%>"><span>在线留言</span></a></li>
            <li><a href="<%=URLRewrite("content", "about")%>"><span>关于我们</span></a></li>
      </ul>
<!-- /.nav -->

	</div>
</div>
<div class="container">
	
	<div class="clear"></div>
	<!-- ===== 面包屑与功能按钮 ===== -->
	<div class="bread_crumbs"><a href="<%=URLRewrite("index", "")%>">主页</a> > <a href="<%=URLRewrite("picture", "")%>">公司产品</a> <%=GetChannel_Menu("picture_list1", this.classId) %>
		<div class="right_function_key">
			<a href="javascript:void(0);" onclick="SetFontSize('.page_product_list', 12);"><img src="<%=SiteTemplatePath("default")%>images/font_delete.png" width="16" height="16" /> 缩小</a><a href="javascript:void(0);" onclick="SetFontSize('.page_product_list', 16);"><img src="<%=SiteTemplatePath("default")%>images/font_add.png" width="16" height="16" /> 放大</a><a href="javascript:window.print();"><img src="<%=SiteTemplatePath("default")%>images/printer.png" width="16" height="16" /> 打印</a>
		</div>
	</div>

    
    <div class="clear"></div>
	<!-- ===== 左侧正文 ===== -->
	<div class="page_left">
        <div class="filtersTool">
            <ul>
                <li><span>产品认证：</span> </li>
                <%
                    string[] renzhengArr = GetRenzhengList();

                    string all=renzhengKey==null? " class=active" : "";
                    Response.Write(string.Format("<li{0}><a href=picture.aspx >全部</a></li>\n",all));

                    foreach (string s in renzhengArr)
                    {
                        string css = s == renzhengKey ? " class=\"active\"" : "";
                     
                        Response.Write(string.Format("<li{0}><a href=\"{1}\">{2}</a></li>\n",css, GetPictureUrl("renzheng=" + s), s));
                    }
                  %>
            </ul>
            <div class="clear"></div>
        </div>

		<%if(this.classId>0) {%>
		<h2 id="page_title"><%=GetChannel_Title(this.classId) %></h2>
		<%} %>
		<!-- ===== 产品列表 ===== -->
		<div class="page_product_list">
		    <ul>
			    <DtContorl:Repeater ID="rptList1" runat="server" onload="Picture_List_DataBind" Where='<%#this.pwhere %>' PageSize='<%#this.pagesize %>' PageIndex='<%#this.page %>'>
                  <ItemTemplate>
                    <li>
                        <a href="<%#URLRewrite("picture_show", Eval("Id")) %>">
                        <img src="<%#Eval("ImgUrl")%>" width="196" height="196" alt="<%#Eval("Title")%>" />
                            <span><%#Utils.CutString(Eval("Title").ToString(), 26)%></span>
                            <span class="price">￥<%#Utils.CutString(Eval("Price").ToString(), 26)%></span>
                        </a>
                    </li>
                  </ItemTemplate>
                </DtContorl:Repeater>
		    </ul>
	    </div>
		<%=PagerText(this.pcount, this.pagesize, this.page, URLRewrite("picture_list2", this.classId, "__id__"), "pagination", "flickr")%>
	</div>
	<!-- ===== 左侧子导航 ===== -->
	<div class="page_right">
		<h3>产品分类</h3>
		<ul class="sidebar_nav">
			<%=GetChannel_List(this.kindId, 0, "picture_list1")%>
		</ul>
		<h3>推荐产品</h3>
		<ul class="sidebar_news">
			<DtContorl:Repeater ID="rptList2" runat="server" onload="Picture_List_DataBind" Top="8" Where="IsLock=0 and IsRed=1">
              <ItemTemplate>
                <li><a href="<%#URLRewrite("picture_show", Eval("Id")) %>"><%#Eval("Title")%></a><i><span><%#Comment_Count(this.kindId,  Convert.ToInt32(Eval("Id")))%> 评论</span><%#Eval("AddTime")%></i></li>
              </ItemTemplate>
            </DtContorl:Repeater>
		</ul>
	</div>
	<div class="clear"></div>
</div>


<div id="footer">
    <div class="link">
        <a href="http://www.cqc-sai.com/default.htm" target="_blank"><img src="<%=SiteTemplatePath("timber")%>images/link/fsc.png" alt="" /></a>
        <a href="http://www.cn.sgs.com/zh/" target="_blank"><img src="<%=SiteTemplatePath("timber")%>images/link/sgs.png" alt="" /></a>
        <a href="http://www.000592.com/web/index.html" target="_blank"><img src="<%=SiteTemplatePath("timber")%>images/link/zhongfu.png" alt="" /></a>
        <a href="content.aspx?page=inspection" target="_blank"><img src="<%=SiteTemplatePath("timber")%>images/link/inspection.png" alt="" /></a>
	</div>
    <div class="container">
		<p class="footer_links"><a href="<%=URLRewrite("content", "about")%>">关于我们</a>|<a href="<%=URLRewrite("content", "contact")%>">联系我们</a>|<a href="<%=URLRewrite("feedback", "")%>">在线留言</a>|<a target="_blank" href="admin/Login.aspx">站点管理</a></p> 
	    <p class="copyright">版权所有 &copy; 上海福人木业 <script src="http://s24.cnzz.com/stat.php?id=1996164&web_id=1996164&show=pic" language="JavaScript"></script></p>
    </div>
</div>

</body>
</html>

<!-- 本页面代码由DTCMS模板引擎生成于 2012/3/21 11:12:07 -->